﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel.DataAnnotations;
using System.Collections.ObjectModel;
using HasuSLLib.Attributes;


namespace UIGenDemoModel
{
    public class Address
    {
        public const string KEY_Address = "Adress";

        [Visualization(Visible = false)]
        public int ID { get; set; }

        [Display(Name = "House No", GroupName = KEY_Address, Order = 1)]
        public int HouseNo { get; set; }

        [Display(Name = "Address Line1", GroupName = KEY_Address, Order = 2)]
        public string AddressLine1 { get; set; }

        [Display(Name = "Address Line2", GroupName = KEY_Address, Order = 3)]
        public string AddressLine2 { get; set; }

        [Display(Name = "Address Line3", GroupName = KEY_Address, Order = 4)]
        public string AddressLine3 { get; set; }

        [Display(Name = "Address Line4", GroupName = KEY_Address, Order = 5)]
        public string AddressLine4 { get; set; }

        [Display(Name = "Post Code", GroupName = KEY_Address, Order = 6)]
        public string PostCode { get; set; }

        [Display(Name = "County", GroupName = KEY_Address, Order = 6)]
        public string County { get; set; }

        [Display(Name = "Country", GroupName = KEY_Address, Order = 6)]
        public CountryLookup  Country { get; set; }

    }

    public class AdressCollcetion : ObservableCollection<Address> 
    { 

    }
}
